package com.xq.service;

import com.xq.entity.UmsUserOrganization;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuven
 * @since 2025-05-26
 */
public interface IUmsUserOrganizationService extends IService<UmsUserOrganization> {

    /**
     * 这里的update是对员工而言的，不是对用户组织表格而言的
     *
     * 根据员工id和组织id给员工分组
     * @param userId
     * @param organizationId
     */
    void updateUserOrganization(String userId,String organizationId);

    /**
     * 将员工从组织中删除
     * @param userId
     * @param organizationId
     */
    void deleteUserOrganization(String userId,String organizationId);

}
